package com.haiqi.common.persistence.dao;

import com.haiqi.common.persistence.entity.WatersInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface WatersInfoMapper {
    int insert(WatersInfo record);

    int insertSelective(WatersInfo record);

    int delete(String id);

    int update(WatersInfo watersInfo);

    int updateShowById(@Param(value = "reserve2") String reserve2,@Param(value = "id") String id);

    WatersInfo selectById(String id);

    List<WatersInfo> selectByType(@Param(value = "waterstype") String waterstype);

    List<WatersInfo> selectAll();
}